﻿package cn.edu.zjusc.POJO;

import javax.persistence.*;
@SuppressWarnings("serial")
@Entity
@Table(name="majorcode")
public class MajorCode implements java.io.Serializable{
	private int ma_id;
	private String ma_majorName;
	
	@Id
	@Column(name="ID")
	public int getMa_id() {
		return ma_id;
	}
	public void setMa_id(int ma_id) {
		this.ma_id = ma_id;
	}
	@Column(name="MajorName")
	public String getMa_majorName() {
		return ma_majorName;
	}
	public void setMa_majorName(String ma_majorName) {
		this.ma_majorName = ma_majorName;
	}
	
}
